import 'package:flutter_router/router_manager.dart';
import 'package:my_flutter_module/login_page.dart';
import 'package:my_flutter_module/playground.dart';

import '../from_flutter_page.dart';

void initRouter() {
  RouterManager.instance.addRouter("playground", (args) {
    return const Playground();
  });
  RouterManager.instance.addRouter("login", (args) {
    return LoginPage(args);
  });
  RouterManager.instance.addRouter("from_flutter", (args) {
    return FromFlutterPage(args);
  });
}
